package com.qf.boot.service.api;

public class SiteServiceStub implements SiteService{

    private final SiteService siteService;

    public SiteServiceStub(SiteService siteService1){
        this.siteService= siteService1;
    }

    public String getName(String name) {
        try {
            return siteService.getName(name);
        } catch (Exception e) {
            return "stub :"+name;
        }
    }
}
